package cn.sundat.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.transaction.annotation.Transactional;

import cn.sundat.dao.ProductDao;
import cn.sundat.model.Product;

@Transactional
public class ProductServiceImpl implements ProductService {
	@Resource(name="productDao")
	private ProductDao productDao;
	@Override
	public List<Product> findAll() {
		List<Product> list = productDao.findAll();
		return list;
	}
	
}
